package com.chl.legou.item.api;

import com.chl.legou.item.po.SpuDetail;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping(value = "/spu-detail")
public interface SpuDetailApi {
    @ApiOperation(value = "加载",notes = "根据id加载")
    @GetMapping("/edit/{id}")
    public SpuDetail edit(@PathVariable Long id);
}
